/*
 * Spreed WebRTC.
 * Copyright (C) 2013-2015 struktur AG
 *
 * This file is part of Spreed WebRTC.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

#settings { // scss-lint:disable IdSelector
  // scss-lint:disable NestingDepth
  background: $settings-background;
  border-left: 1px solid $bordercolor;
  bottom: 0;
  padding-right: 0px;
  position: fixed;
  right: -520px;
  top: 0;
  transition: right 200ms ease-in-out;
  width: 520px;
  z-index: 80;

  &.show {
    right: 0;

    @include breakpt($breakpoint-settings-medium, max-width, only screen) {
      background: $settings-background;
      left: 0;
      width: auto;
    }

  }
}

.settings {
  background: $settings-background;
  bottom: 0;
  left: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px 15px;
  position: absolute;
  right: 0;
  top: 0;
  margin-top: 50px;

  @include breakpt($breakpoint-settings-medium, max-width, only screen) {
    padding-bottom: 10px;
  }

  legend {
    font-size: ceil(($font-size-base * 1.25));
  }

  .version {
    color: $settings-version;
    font-size: 10px;
    position: absolute;
    right: 10px;
    top: 10px;
  }

}

settings-advanced {
  display: block;
  padding-top: 15px;
}
